package com.zhuangjie.coupon.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zhuangjie.coupon.entity.CouponBatch;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 带有对应coupon_product_batch的coupon_product
 */
@Data
public class CouponBatchAndLink extends CouponBatch {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("卷商品id")
    @TableField("product_id")
    private Long productId;

    @ApiModelProperty("数量")
    @TableField("number")
    private Integer number;
}
